import axios from './axios'

// 获取当前管理员信息
export function adminInfo(data) {
  return axios({
    method: 'GET',
    url: '/api/common/auth/adminInfo',
  })
}

// JWT预检
export function jwtPreCheck(data) {
  return axios({
    method: 'GET',
    url: '/api/common/auth/jwtPreCheck',
  })
}